package com.qa.dom.config.shiro;

import org.apache.shiro.authc.UsernamePasswordToken;

public class UsernamePasswordCaptchaToken extends UsernamePasswordToken {
	private static final long serialVersionUID = 1L;

	private String captcha;
	private String loginType;

	public String getCaptcha() {
		return captcha;
	}

	public void setCaptcha(String captcha) {
		this.captcha = captcha;
	}

	public UsernamePasswordCaptchaToken() {
		super();

	}

	public String getLoginType() {
		return loginType;
	}

	public void setLoginType(String loginType) {
		this.loginType = loginType;
	}

	public UsernamePasswordCaptchaToken(String username, String password) {
		super(username, password);

	}
	public UsernamePasswordCaptchaToken(String username, String password, String captcha) {
		super(username, password);
		this.captcha = captcha;

	}
/*	public UsernamePasswordCaptchaToken(String username,String password,String loginType) {
		super(username, password);
		this.loginType=loginType;

	}*/
	public UsernamePasswordCaptchaToken(String username, String password, String captcha, String loginType) {
		super(username, password);
		this.captcha = captcha;
		this.loginType=loginType;

	}

	public UsernamePasswordCaptchaToken(String username, char[] password,
                                        boolean rememberMe, String host, String captcha) {
		super(username, password, rememberMe, host);
		this.captcha = captcha;
	}
}
